package com.example.userdome.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.userdome.pojo.Images;
import com.example.userdome.pojo.LoginRequest;
import com.example.userdome.pojo.Result;
import com.example.userdome.pojo.User;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.Serializable;
@Service
public interface UserService extends IService<User>, Serializable {
    Result<T> userLogin(LoginRequest loginRequest, HttpServletResponse response, HttpServletRequest request);

    Result<T> saveImage(Images images, String token, HttpServletResponse response, HttpServletRequest request);

    User getByUserName(String userName);

}
